package channel;

import java.io.*;

public interface Channel extends Serializable {
	
	static final String TRIGGER_ADDRESS = "njucs_trigger@yeah.net";
	static final String TRIGGER_PASSWORD = "trigger";
	
	static public final int DATE_TIME = 1;
	static public final int WEIBO = 2;
	static public final int EMAIL = 3;
	static public final int YMAIL = 4;
	static public final int TIMEDOUTWEIBO = 5;
	
	public int THIS();
	public void THAT();
	
	public int getType();
	public InputStream toStream();
}
